package cate.common.table.activity.accumulativepay.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.accumulativepay.row.AccumulativePayRewardRow;

public class AccumulativePayRewardSheet extends ESheet<AccumulativePayRewardRow> {
    @Override
    public String getSheetName() {
        return "奖励";
    }

    public AccumulativePayRewardRow getRewardRow(int group, int tid) {
        return getList().stream().filter(e -> e.group == group && e.id == tid).findAny().orElse(null);
    }
}
